//
//  StackViewController.swift
//  soapp_Example
//
//  Created by zhu xietong on 2018/5/14.
//  Copyright © 2018年 CocoaPods. All rights reserved.
//

import Foundation
import soapp
import Eelay

class StackViewConttroller: TypeInitController {
    public let stackView = UIStackView()
    
    public let scrollView = UIScrollView()
    
    open func buildView() {
        jo_contentView.eelay = [
            [scrollView,[ee.T.L.B.R]],
        ]
        
        scrollView.eelay = [
            [stackView,[ee.T.L.B.R,[0,0,0,0]],Int(Swidth)],
        ]
        
        stackView.axis = .horizontal
        stackView.spacing = 13
        jo_contentView.backgroundColor = .clear
        scrollView.alwaysBounceVertical = true
//        
//        let kit1 = UIView()
//        let kit2 = UIView()
//        let kit3 = UIView()
//        let kit4 = UIView()
//        let kit5 = UIView()
//        let kit6 = UIView()
//        let kit7 = UIView()
//        let kit8 = UIView()
        
        
        
        
    }
    
    
    override open func viewDidLoad() {
        super.viewDidLoad()
        buildView()
    }
    
    
}
